package com.scu.hotelsystem.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Vip {

    private int guest_id;
    private int cid;
    private Date start_time;
    private Date expire_time;

    public int getGuest_id() {
        return guest_id;
    }

    public void setGuest_id(int guest_id) {
        this.guest_id = guest_id;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }
    @DateTimeFormat(pattern = "yyyy-MM-DD")
    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }
    @DateTimeFormat(pattern = "yyyy-MM-DD")
    public Date getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(Date expire_time) {
        this.expire_time = expire_time;
    }
}
